<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';
$route['default_controller'] = "manage/index/index";
$route['index'] = "manage/index/index";
$route['login'] = "manage/authentic/login"; //
$route['logout'] = "manage/authentic/logout";
$route['profile'] = "manage/user/profile";

// loại văn bản
$route['manage/loaivanban/index'] = "manage/loaivanban/index";
$route['manage/loaivanban/index/trang-(:num)'] = "manage/loaivanban/index";
$route['manage/loaivanban/add'] = "manage/loaivanban/add";
$route['manage/loaivanban/edit/(:num)'] = "manage/loaivanban/edit";
$route['manage/loaivanban/delete/(:num)'] = "manage/loaivanban/delete";

// cơ quan ngoài
$route['manage/coquanngoai/index'] = "manage/coquanngoai/index";
$route['manage/coquanngoai/index/trang-(:num)'] = "manage/coquanngoai/index";
$route['manage/coquanngoai/add'] = "manage/coquanngoai/add";
$route['manage/coquanngoai/edit/(:num)'] = "manage/coquanngoai/edit";
$route['manage/coquanngoai/delete/(:num)'] = "manage/coquanngoai/delete";

// người dùng
$route['manage/nguoidung/index'] = "manage/nguoidung/index";
$route['manage/nguoidung/index/trang-(:num)'] = "manage/nguoidung/index";
$route['manage/nguoidung/add'] = "manage/nguoidung/add";
$route['manage/nguoidung/edit/(:num)'] = "manage/nguoidung/edit";
$route['manage/nguoidung/delete/(:num)'] = "manage/nguoidung/delete";






/*
** void categories
*/
$route['manage/categories/index'] = "manage/categories/index";
$route['manage/categories/index/trang-(:num)'] = "manage/categories/index";
$route['manage/categories/add'] = "manage/categories/add";
$route['manage/categories/edit/(:num)'] = "manage/categories/edit";
$route['manage/categories/delete/(:num)'] = "manage/categories/delete";

/*
** void pois
*/
$route['manage/pois/index'] = "manage/pois/index";
$route['manage/pois/index/trang-(:num)'] = "manage/pois/index";
$route['manage/pois/add'] = "manage/pois/add";
$route['manage/pois/edit/(:num)'] = "manage/pois/edit";
$route['manage/pois/delete/(:num)'] = "manage/pois/delete";


//$route['manage/restaurant/add-restaurant']              = "manage/restaurant/addrestaurant";
//$route['manage/restaurant/edit-restaurant/(:num)']      = "manage/restaurant/editrestaurant";
//$route['manage/restaurant/delete-restaurant/(:num)']    = "manage/restaurant/deleterestaurant";